package com.example.userservice.service;

import com.example.common.dto.ApiResponse;
import com.example.common.dto.UserDTO;

public interface UserService {
    ApiResponse<String> register(UserDTO userDTO, String clientIp);
    ApiResponse<String> login(String username, String password);
    ApiResponse<UserDTO> getUserInfo(Long userId);
    ApiResponse<Void> updateUser(Long userId, UserDTO userDTO);
    ApiResponse<Void> resetPassword(Long userId, String newPassword);
}